package com.xbongbong.pro.opportunity.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.Entity;
import com.xbongbong.saas.domain.entity.SaleStageModifyLogEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Set;

@Getter
@Setter
@ToString
public class SaleStageModifyLogVO extends Entity {

    private static final long serialVersionUID = -2116441868104122638L;

    /**
     * 机会阶段比例和任务占比变更记录
     */
    private List<SaleStageModifyLogEntity> saleStageModifyLogList;

    /**
     * 当前阶段为这些阶段的主数据需要进行同步
     */
    private Set<Long> needSyncSaleStageIdList;

    public SaleStageModifyLogVO(List<SaleStageModifyLogEntity> saleStageModifyLogList, Set<Long> needSyncSaleStageIdList) {
        this.saleStageModifyLogList = saleStageModifyLogList;
        this.needSyncSaleStageIdList = needSyncSaleStageIdList;
    }
}
